package cn.snowheart.strategy.warrior;

import cn.snowheart.strategy.warrior.entity.Character;
import cn.snowheart.strategy.warrior.entity.King;
import cn.snowheart.strategy.warrior.weapon.AxeBehavior;

/**
 * @author liuwanxiang
 * @version 2019/06/24
 */
public class WarriorTests {

    public static void main(String[] args) {

        Character character = new King();
        character.fight();
        character.setWeapon(new AxeBehavior());
        character.fight();

    }

}
